﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using nvn.Core.MVP;
using Hutech.CRM.Library.Presenters;
using Hutech.CRM.Library.Models.Entities;
using nvn.Library.Patterns;

namespace Hutech.CRM.Library.Views
{
    public static class CreateObjectListCriterionForGroupCustomerView
    {
        public static void InitView(this IListCriterionForGroupCustomerView view)
        {
            ListCriterionForGroupCustomerPresenter presenter = new ListCriterionForGroupCustomerPresenter(view);
        }
    }

    public interface IListCriterionForGroupCustomerView : IBaseView
    {
        #region properties
        List<CriterionCustomer> CriterionCustomers {  set; }
        List<TowTypeParameters<Guid,string>> GroupLevelCustomers { get; set; }

        bool ActiveItem { get; set; }
        int EditItemIndex { set; }

        //event EventHandler<EventArgs> AddNew_EvenAgrs;
        event EventHandler<ItemCommandArgs<CriterionCustomer>> ListCriterionCustomer_ItemCommand;
        event EventHandler<ItemDataBoundArgs> ListCriterionCustomer_ItemDataBound;
        event EventHandler<EventArgs> Reload_EventArgs;
        #endregion
        //void RedirectTo(string value);
    }

}
